package com.example.shardingsphere.strategy;

import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;

import java.util.Collection;

/**
 * ^_^ ^_^
 *
 * @author wuquan
 * @date 2021/11/05
 */
public class MyPreciseShardingAlgorithm implements PreciseShardingAlgorithm<Long> {

    @Override
    public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<Long> shardingValue) {
        Long createtime = shardingValue.getValue();
        for (String name : availableTargetNames) {


        }


        return null;
    }
}
